package com.freemalll.merchant.domain.vo.merchantParameters;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.freemalll.merchant.domain.dto.merchantParameters.MerParamsDetailDTO;
import com.freemalll.merchant.utils.CustomLocalDateTimeSerializer;
import com.freemalll.merchant.utils.CustomLocalTimeDeserializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
public class MerParamsListVO {

    @Schema(description = "主键id")
    private String id;

    /**
     * 模板编码
     */
    @Schema(description = "模板编码")
    private String paramCode;

    /**
     * 模板名称(参数名称)
     */
    @Schema(description = "模板名称(参数名称)")
    private String paramName;


    /**
     * 模板描述
     */
    @Schema(description = "模板描述")
    private String remark;


    /**
     * 应用板块
     */
    @Schema(description = "应用板块")
    private String applyLocation;


    @Schema(description = "操作人")
    private String updateManName;

    /**
     * 应用板块
     */
    @Schema(description = "更新时间")
    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    @JsonDeserialize(using = CustomLocalTimeDeserializer.class)
    private LocalDateTime updateTime;

    /**
     * 应用板块
     */
    @Schema(description = "应用板块")
    private List<MerParamsDetailDTO> applyLocationList;

}
